package com.huawei.appmarket.service.store.awk.card;

import android.content.Context;
import android.widget.RelativeLayout.LayoutParams;
import o.azb;
import o.eib;
import o.eqx;

public class BilobaListCard extends NewEntranceCard {
    private int ʻ;
    private Context ॱॱ;

    public BilobaListCard(Context context) {
        super(context);
        this.ॱॱ = context;
    }

    protected void ॱ(String str, String str2, String str3) {
        int ॱ = ((int) (((float) azb.ॱ(this.ॱॱ)) - ((float) (((eib.ʼॱ() * (this.ʻ - 1)) + azb.ˊ(this.ʼॱ)) + azb.ˏ(this.ʼॱ))))) / this.ʻ;
        int i = ॱ / 2;
        LayoutParams layoutParams = (LayoutParams) this.ˋ.getLayoutParams();
        layoutParams.width = ॱ;
        layoutParams.height = i;
        this.ʽॱ.setContentDescription(str3);
        this.ˋ.setLayoutParams(layoutParams);
        eqx.ˏ(this.ʽॱ, str2, "image_default_icon");
    }

    public void ˊ(int i) {
        this.ʻ = i;
    }
}
